package sanshui.system.trade.model;

import sanshui.system.trade.db.entity.TradeHisOpPos;
import sanshui.system.trade.db.entity.TradeHisPosition;
import sanshui.system.trade.factory.data.DataMarketType;
import sanshui.system.trade.factory.distribute.DistributeManager;

public class TradeHisPositionModel extends TradeHisOpPos {
    DataMarketType dataMarketType;
    Long numAround = 1L; // 数量小数点位数，如果是整数，则为1
    Long priceAround = 100L; // 价格小数点位数，单位分，则为100

    public Long getNumAround() {
        return numAround;
    }

    public void setNumAround(Long numAround) {
        this.numAround = numAround;
    }

    public Long getPriceAround() {
        return priceAround;
    }

    public void setPriceAround(Long priceAround) {
        this.priceAround = priceAround;
    }

    DistributeManager.OpType disOpType = DistributeManager.OpType.INSERT;
    public DataMarketType getDataMarketType() {
        return dataMarketType;
    }

    public void setDataMarketType(DataMarketType dataMarketType) {
        this.dataMarketType = dataMarketType;
    }

    public DistributeManager.OpType getDisOpType() {
        return disOpType;
    }

    public void setDisOpType(DistributeManager.OpType disOpType) {
        this.disOpType = disOpType;
    }
}
